import Vue from 'vue'
import App from './App.vue'

import VueRouter from 'vue-router'
Vue.use(VueRouter)
import shouye from './views/shouye.vue'
import fenlei from './views/fenlei.vue'
import dingdan from './views/dingdan.vue'
import wode from './views/wode.vue'

const routes = [
  {
    path: "/",
    redirect: "/shouye"
  },
  {
    path: "/shouye",
    component: shouye
  },
  {
    path: "/fenlei",
    component: fenlei
  },
  {
    path: "/dingdan",
    component: dingdan
  },
  {
    path: "/wode",
    component: wode
  }
]

const router = new VueRouter({
  routes,
})


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
